From ff76e254a269c772da3cf7df94b1cab6b8dab1dc Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 20 Nov 2021 08:05:01 -0700 Subject: [PATCH] update fit locations test with improved sample (#767) * update fit test with improved sample. * reference file mode correction. --- reference/Lctns_Instinct.csv | 9 ------ reference/Lctns_Instinct.fit | Bin 428 -> 502 bytes reference/Lctns_Instinct.gpx | 61 +++++++++++++++++++++++++++++++++++ testo.d/garmin_fit.test | 4 +-- 4 files changed, 63 insertions(+), 11 deletions(-) delete mode 100644 reference/Lctns_Instinct.csv mode change 100755 => 100644 reference/Lctns_Instinct.fit create mode 100644 reference/Lctns_Instinct.gpx diff --git a/reference/Lctns_Instinct.csv b/reference/Lctns_Instinct.csv deleted file mode 100644 index a5b703af6..000000000 --- a/reference/Lctns_Instinct.csv +++ /dev/null @@ -1,9 +0,0 @@ -No,Latitude,Longitude,Name,Altitude -1,50.031985,14.310719,"X", -2,50.101786,14.391518," > 1",235.4 -3,50.102963,14.391518,"2",235.4 -4,50.104888,14.391045,"3",235.4 -5,50.206686,14.260687,"12 SEP 19:07",226.6 -6,50.213687,14.307941,"15 SEP 18:47",287.8 -7,50.184026,14.367012,"3 OCT 15:42",197.8 -8,50.172190,14.239638,"3 OCT 17:33",261.8 diff --git a/reference/Lctns_Instinct.fit b/reference/Lctns_Instinct.fit old mode 100755 new mode 100644 index 57168b8cf3ae01153b6587d435b54bb050c55184..1285a3252a4610b09c1c5fd28a4870c3ea8fae7f GIT binary patch delta 398 zcmZ3({EeB9PoR|J86yLOo||V#$DN6M!AzNK6O&cy-HTFF^U5=mGZa#DQccVlnAB#g za5I2_x9uvf|Noi(13_qBF;JC>V@^&;QDSBe!@SkARX|D@fr{3{6#3;Bm1HOsQ^8dd*$RsA9qH~;3lY;Y0VTz0_j7=Hpc^DWDfK)L9RVh0{Rk`M*mL-;C=I1Gt z0&Ol~STuX8*k4b3Nfw4c29SHej=C`M!iEbwFYE%6yFre*skvR%aQ zhnM7~q~;Wt6eS*>pUS}Sb+dzN+nXXzHlQMqNrhmeu1~x^^ZF`<>vOJ8zdjdeR9$Sh z*eP{(Np`3zu%a8wZ?@cQzS(iJ>&7aOeP3tZ5b1P%tH^<@=-iBRYtL;w-*Ue3+}7?0Ja7I literal 428 zcmd-R2+SXkQFS=tzxT9}wxSeaTFfGXmmQ{MiE0!9Wi zp8x+j92po48JL+w*cq5w7#W#>iZHaD^O7~Kh#ae3jWR^3WlauCJ@&t?Od%!71X?G04*-^#g2Mm+ diff --git a/reference/Lctns_Instinct.gpx b/reference/Lctns_Instinct.gpx new file mode 100644 index 000000000..204a076aa --- /dev/null +++ b/reference/Lctns_Instinct.gpx @@ -0,0 +1,61 @@ + + + + + + 46.000 + Greenwich ele46 + Greenwich ele46 + Greenwich ele46 + + + 47.000 + Unseen4AllTrail + Unseen4AllTrail + Unseen4AllTrail + + + 2.000 + North pole ele2 + North pole ele2 + North pole ele2 + + + 2835.000 + South pole 2835 + South pole 2835 + South pole 2835 + + + Elevation unset + Elevation unset + Elevation unset + + + 449.000 + Байкал + Байкал + Байкал + + + Händelstraße + Händelstraße + Händelstraße + + + בית לחם + בית לחם + בית לחם + + + الكويت + الكويت + الكويت + + + Θέατρο + Θέατρο + Θέατρο + + + diff --git a/testo.d/garmin_fit.test b/testo.d/garmin_fit.test index 559f09e01..840086809 100644 --- a/testo.d/garmin_fit.test +++ b/testo.d/garmin_fit.test @@ -33,8 +33,8 @@ compare ${REFERENCE}/track/lezyne_super_gps-garmin_fit-sample-bad-endian.gpx ${T gpsbabel -i garmin_fit -f ${REFERENCE}/track/fitlocations-sample.fit -o gpx -F ${TMPDIR}/fitlocations-sample.gpx compare ${REFERENCE}/track/fitlocations-sample.gpx ${TMPDIR}/fitlocations-sample.gpx -gpsbabel -i garmin_fit -f ${REFERENCE}/Lctns_Instinct.fit -o unicsv,utc=0 -F ${TMPDIR}/Lctns_Instinct.csv -compare ${REFERENCE}/Lctns_Instinct.csv ${TMPDIR}/Lctns_Instinct.csv +gpsbabel -i garmin_fit -f ${REFERENCE}/Lctns_Instinct.fit -o gpx -F ${TMPDIR}/Lctns_Instinct.gpx +compare ${REFERENCE}/Lctns_Instinct.gpx ${TMPDIR}/Lctns_Instinct.gpx # # Basic FIT tests (write) -- 2.30.2